<template>
    <view>
        <web-view :src="webviewUrl"></web-view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            webviewUrl: ''
        }
    },
    methods: {
        onLoad(params) {
            if (params.agreement === '1') {
                this.webviewUrl = 'https://realbook.com.cn/privacy.html'
            } else {
                this.webviewUrl = 'https://realbook.com.cn/service.html'
            }
        },
    }
}
</script>

<style></style>